package com.prs.crm.dao.person.impl;

import java.util.List;

import org.hibernate.Criteria;

import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.dao.person.StaffSexDao;
import com.prs.crm.domain.person.StaffSex;

public class StaffSexDaoImpl extends BaseDaoImpl<StaffSex> implements StaffSexDao{

	@SuppressWarnings("unchecked")
	@Override
	public List<StaffSex> getAllStaffSex() {
		Criteria criteria=this.getSession().createCriteria(StaffSex.class);
		return criteria.list();
	} 

}
